TextBuffer: Add missing transfer full annotations
authorDaniel Boles <dboles@src.gnome.org>
Sun, 26 Mar 2017 14:50:57 +0000 (15:50 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Sun, 26 Mar 2017 15:14:10 +0000 (16:14 +0100)
gtk/gtktextbuffer.c

index 644e2cfbb25298c78fc9cf115b3efec77456b1a4..81b95f5d83583fbeac5499d88c34b49a11dfbd4a 100644 (file)
@@ -1848,7 +1848,7 @@ gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer,
  * and character indexes into the buffer. Contrast with
  * gtk_text_buffer_get_slice().
  *
- * Returns: an allocated UTF-8 string
+ * Returns: (transfer full): an allocated UTF-8 string
  **/
 gchar*
 gtk_text_buffer_get_text (GtkTextBuffer     *buffer,
@@ -1886,7 +1886,7 @@ gtk_text_buffer_get_text (GtkTextBuffer     *buffer,
  * text as well, so it is not a reliable indicator that a pixbuf or
  * widget is in the buffer.
  *
- * Returns: an allocated UTF-8 string
+ * Returns: (transfer full): an allocated UTF-8 string
  **/
 gchar*
 gtk_text_buffer_get_slice (GtkTextBuffer     *buffer,